package com.example.androidcomplete0102.ch14;

import com.example.androidcomplete0102.R;

import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.util.AttributeSet;
import android.widget.Button;
import android.widget.TextView;

public class AttributeTest extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		setContentView(R.layout.ch14_attributetest);
		
		AttrButton btn = (AttrButton)findViewById(R.id.attrButton1);
		TextView text = (TextView)findViewById(R.id.attrtext);
		text.setText(btn.mText);
	}

}
